package com.fcat.common.user.service;

import com.fcat.springboot.mybatis.service.TsuantoneBaseService;
import com.fcat.common.user.entity.User;
import com.fcat.common.user.entity.UserRole;

import java.util.List;

public interface UserRoleService extends TsuantoneBaseService<UserRole> {

    void updateRoles(String Authorization, List<Long> longs, User tmp);

    void delByUserId(Long userId);

    void insertByIdsAndUserId(List<Long> longs, Long userId);

    boolean updateKeycloakPermissionInfo(String Authorization, String keycloakId, List<Long> longs);

    List<UserRole> getListByRoleids(List<Long> longs);
}